<!--#include virtual="/dzps/p1.asp"-->
<%
	if val("id")<>"" then
		s11 "select un,bh,prj_id,sex from u where [ID]={id}",""
	end if
	' easp.db.exec("ALTER TABLE [user] ADD [mobile] NVARCHAR (10) NULL")
%>
<!DOCTYPE html>
<html>
<head>
<%easp.include "h.asp"%>
</head>
<body>
  <div class="layui-form" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin" style="padding: 20px 0 0 0;">
	<%
		dim rs2,arr,arr_sex(5,5)
		set rs2 = Easp.Db.Sel("select id,prn from prj")
		if rs2.recordCount >=1 then
			arr = rs2.GetRows	
			echo myopt("prj_id","所属项目",arr,iif(val("prj_id") = "",0,val("prj_id")))
		end if	
		Echo js2("input1.html","bh","编号",val("bh"),"required")
		Echo js2("input1.html","un","姓名",val("un"),"required")
		arr_sex(0,2)="2"
		arr_sex(1,2)="女"
		arr_sex(0,1)="1"
		arr_sex(1,1)="男"
		echo myopt("sex","性别",arr_sex,iif(val("sex") = "",0,val("sex")))
	%>
	<input type="hidden" name="id" value="<%=val("id")%>">	
    <div class="layui-form-item layui-hide">
      <input type="button" lay-submit lay-filter="LAY-user-front-submit" id="LAY-user-front-submit" value="确认">
    </div>
  </div>
  <script src="../../../layuiadmin/layui/layui.js"></script>  
  <script>
  layui.config({
    base: '../../../layuiadmin/' 
  }).extend({
    index: 'lib/index' 
  }).use(['index', 'set','form', 'upload','user'],function(){
    var $ = layui.$
    ,setter = layui.setter 
    ,admin = layui.admin
    ,form = layui.form;  
  });
  </script>  
</body>
</html>